package com.zmc.member.infrastructure.component.shopping;

import com.zmc.common.utils.PageUtils;
import com.zmc.member.infrastructure.bean.query.ShoppingCartQuery;
import com.zmc.member.infrastructure.bean.vo.*;

import java.util.List;

/**
 * @Author：zmc
 * @Date：2025/5/27 14:04
 */
public interface ShoppingCartStrategyService {

    void merge(List<ShoppingCartVo> list);

    void delete(List<String> skuIds);

    void add(ShoppingCartVo shoppingCartVo);

    void updateShoppingCartItemBySkuId(ShoppingCartItemUpdateCountVo vo);

    void setSelectedStatus(ShoppingCartSelectedVo vo);

    void clearHasSelected();

    List<ShoppingCartVo> getSelectedList(List<String> skuIds);


    PageUtils shoppingCartList(ShoppingCartQuery cartQuery);

}
